home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 07 - 1991 / 07.09 Sep 91 / Generic Source ƒ / DebugAids.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-07-03  |  881 b   |  33 lines  |  [TEXT/KAHL]

  1. #pragma mark Header
  2. /***************************/
  3. /* DebugAids.h
  4.     Header file for DebugAids.c
  5.     Defines whether debugging is done
  6.     and whether a debugger is installed
  7.     6/5/91 - Created by Kirk Chase */
  8. /***************************/
  9.  
  10. #pragma mark #defines
  11. #define _H_DebugAids /* THINK C one time header inclusion flag */
  12.  
  13. /*#define PROFILE*/ /* Profile options on */
  14. #define DEBUG /* install debugging features */
  15. /*#define DEBUGGER*/ /* install debugger features */
  16. /*#undef THINK_C*/  /* uncomment for pure generic C features */
  17.  
  18. #ifndef DEBUG
  19. #undef DEBUGGER
  20. #endif
  21.  
  22. #ifndef THINK_C
  23. #undef PROFILE
  24. #endif
  25.  
  26. #pragma mark #includes
  27. #include <setjmp.h>
  28.  
  29. #pragma mark Prototypes
  30. extern SigHandler(int sig); /* set up jumps and signals */
  31. extern CheckOptionAbort(void); /* checks if cmd-. is down on mac */
  32. extern void UserAbort(int sig); /* forced cmd-. signal if SIGINT is passed */
  33.